# RUN: llvm-mc --disassemble %s -triple=i686-apple-darwin9 | FileCheck %s

# CHECK: vcvtne2ps2bf16 %zmm4, %zmm3, %zmm2
0x62,0xf2,0x67,0x48,0x72,0xd4

# CHECK: vcvtne2ps2bf16 %zmm4, %zmm3, %zmm2 {%k7}
0x62,0xf2,0x67,0x4f,0x72,0xd4

# CHECK: vcvtne2ps2bf16 %zmm4, %zmm3, %zmm2 {%k7} {z}
0x62,0xf2,0x67,0xcf,0x72,0xd4

# CHECK: vcvtne2ps2bf16  268435456(%esp,%esi,8), %zmm3, %zmm2
0x62,0xf2,0x67,0x48,0x72,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK: vcvtne2ps2bf16  291(%edi,%eax,4), %zmm3, %zmm2 {%k7}
0x62,0xf2,0x67,0x4f,0x72,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK: vcvtne2ps2bf16  (%eax){1to16}, %zmm3, %zmm2
0x62,0xf2,0x67,0x58,0x72,0x10

# CHECK: vcvtne2ps2bf16  -2048(,%ebp,2), %zmm3, %zmm2
0x62,0xf2,0x67,0x48,0x72,0x14,0x6d,0x00,0xf8,0xff,0xff

# CHECK: vcvtne2ps2bf16  8128(%ecx), %zmm3, %zmm2 {%k7} {z}
0x62,0xf2,0x67,0xcf,0x72,0x51,0x7f

# CHECK: vcvtne2ps2bf16  -512(%edx){1to16}, %zmm3, %zmm2 {%k7} {z}
0x62,0xf2,0x67,0xdf,0x72,0x52,0x80

# CHECK: vcvtneps2bf16 %zmm3, %ymm2
0x62,0xf2,0x7e,0x48,0x72,0xd3

# CHECK: vcvtneps2bf16 %zmm3, %ymm2 {%k7}
0x62,0xf2,0x7e,0x4f,0x72,0xd3

# CHECK: vcvtneps2bf16 %zmm3, %ymm2 {%k7} {z}
0x62,0xf2,0x7e,0xcf,0x72,0xd3

# CHECK: vcvtneps2bf16  268435456(%esp,%esi,8), %ymm2
0x62,0xf2,0x7e,0x48,0x72,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK: vcvtneps2bf16  291(%edi,%eax,4), %ymm2 {%k7}
0x62,0xf2,0x7e,0x4f,0x72,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK: vcvtneps2bf16  (%eax){1to16}, %ymm2
0x62,0xf2,0x7e,0x58,0x72,0x10

# CHECK: vcvtneps2bf16  -2048(,%ebp,2), %ymm2
0x62,0xf2,0x7e,0x48,0x72,0x14,0x6d,0x00,0xf8,0xff,0xff

# CHECK: vcvtneps2bf16  8128(%ecx), %ymm2 {%k7} {z}
0x62,0xf2,0x7e,0xcf,0x72,0x51,0x7f

# CHECK: vcvtneps2bf16  -512(%edx){1to16}, %ymm2 {%k7} {z}
0x62,0xf2,0x7e,0xdf,0x72,0x52,0x80

# CHECK: vdpbf16ps %zmm4, %zmm3, %zmm2
0x62,0xf2,0x66,0x48,0x52,0xd4

# CHECK: vdpbf16ps %zmm4, %zmm3, %zmm2 {%k7}
0x62,0xf2,0x66,0x4f,0x52,0xd4

# CHECK: vdpbf16ps %zmm4, %zmm3, %zmm2 {%k7} {z}
0x62,0xf2,0x66,0xcf,0x52,0xd4

# CHECK: vdpbf16ps  268435456(%esp,%esi,8), %zmm3, %zmm2
0x62,0xf2,0x66,0x48,0x52,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK: vdpbf16ps  291(%edi,%eax,4), %zmm3, %zmm2 {%k7}
0x62,0xf2,0x66,0x4f,0x52,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK: vdpbf16ps  (%eax){1to16}, %zmm3, %zmm2
0x62,0xf2,0x66,0x58,0x52,0x10

# CHECK: vdpbf16ps  -2048(,%ebp,2), %zmm3, %zmm2
0x62,0xf2,0x66,0x48,0x52,0x14,0x6d,0x00,0xf8,0xff,0xff

# CHECK: vdpbf16ps  8128(%ecx), %zmm3, %zmm2 {%k7} {z}
0x62,0xf2,0x66,0xcf,0x52,0x51,0x7f

# CHECK: vdpbf16ps  -512(%edx){1to16}, %zmm3, %zmm2 {%k7} {z}
0x62,0xf2,0x66,0xdf,0x52,0x52,0x80
